Skip to content

🐞 update-graphql.sh race issue - #2845

Open
BelSequent wants to merge 1 commit into
mainfrom
fix/meta-12507/main
Open

🐞 update-graphql.sh race issue#2845
BelSequent wants to merge 1 commit into
mainfrom
fix/meta-12507/main

Conversation

@BelSequent

Copy link
Copy Markdown
Contributor

@BelSequent BelSequent self-assigned this Jul 9, 2026
Copilot AI review requested due to automatic review settings July 9, 2026 12:13

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR fixes a race in the devcontainer GraphQL schema generation workflow by replacing a fixed sleep with an active readiness check, ensuring Hasura is actually serving before introspection runs.

Changes:

  • Replace sleep 10 with polling http://graphql-engine:8080/healthz under a 120s timeout.
  • Document why the readiness check is necessary (Hasura applies migrations/metadata before serving).

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants